package com.soft.javase.ch02.extendss;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/17
 */
public class Tiger extends Animal{
    public void hunt(){
        System.out.println("一只"+this.getAge()+"岁的"+this.getName()+"正在捕猎...");
    }
}
